package com.cy.ppj.model.ao.order;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单编辑字段
 * @author: tanyilin
 * @create: 2018年7月21日 下午12:00:06
 */
@Data
@ApiModel("订单编辑")
public class OrderEditAO {

	@ApiModelProperty(value = "订单ID", example = "0", required = true)
	@NotNull(message = "订单id不可为空")
	private Long id;
	
	@ApiModelProperty(value = "借款期限", example = "12")
	private Integer periods;
	
	@ApiModelProperty(value = "贷款金额", example = "0.00")
	private BigDecimal loanAmount;
	
}
